<template>
	<view class="box">
		<image src="../../static/denglu/denglu_logo.png" mode=""></image>
		<button type="primary" plain='true' :hover-stay-time="500" @tap="denglu()">登录</button>
		<button type="primary" plain='true' :hover-stay-time="500" @tap="zhuce()">注册</button>
	</view>
</template>

<script>
export default {
	data() {
		return {};
	},
	methods: {
		denglu() {
			uni.navigateTo({
				url:"../login/denglu/denglu"
			})
			// uni.switchTab({
			// 	url: '../index/index'
			// });
		},
		zhuce() {
			uni.navigateTo({
				url:"../login/zhuce/zhuce"
			});
		}
		
	}
};
</script>

<style lang="less">
page {
	.box {
		width: 100%;
		height: 100%;
		background: url(../../static/denglu/denglu_bj.png);
		background-size: cover;
		overflow: hidden;
		image{
			width: 193upx;
			height:180upx;
			margin-top:302upx ;
			margin-left: 50%;
			transform: translateX(-50%);
		}
		button{
			width: 650upx;
			height:88upx ;
			background:rgba(255,255,255,0.3);
			color: #fff;
			margin-bottom: 28upx;
			font-size: 32upx;
			border-radius: 0;
			border:none;
		}
		.button-hover{
			background-color: #FFE093;
			color: #fff;
			border:1upx solid #FFE093 ;
		}
		
		button:nth-child(2){
			margin-top: 512upx;
		}
	}
}
</style>
